import Vue from 'vue'
import App from './App'
import axios from "axios";
import axiosInstance  from '@/modules/api/axios'
import api from '@/modules/api/index'

const flux = {
  axios,
  axiosInstance,
  $api: api
}

uni.flux = flux

Vue.config.productionTip = false

App.mpType = 'app'
Vue.prototype.$api = api
const app = new Vue({
  ...App
})
app.$mount()
